/*
 * Timer.h
 *
 *  Created on: 21/05/2014
 *      Author: lucio
 */

#ifndef TIMER_H_
#define TIMER_H_
#include <SDL/SDL.h>
#include <string>
class Timer {
private:
    int startTicks;
    int pausedTicks;
    bool paused;
    bool started;
public:
    Timer();
    ~Timer();

    void start();
    void stop();
    void pause();
    void unpause();

    int get_ticks();

    bool is_started();
    bool is_paused();
};

#endif /* TIMER_H_ */
